<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>SQLite Functions (PDO_SQLITE)</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="pdo.pgsqllobunlink.html">« PDO::pgsqlLOBUnlink</a></li>
      <li style="float: right;"><a href="ref.pdo-sqlite.connection.html">PDO_SQLITE DSN »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="pdo.drivers.html">PDO 驱动</a></li>
    <li>SQLite Functions (PDO_SQLITE)</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="ref.pdo-sqlite" class="reference">
  
  <h1 class="title">SQLite Functions (PDO_SQLITE)</h1>
  
  <div class="partintro">

   <div class="section" id="pdo-sqlite.intro">
   <h2 class="title">简介</h2>
    <p class="para">
     PDO_SQLITE is a driver that implements the <a href="intro.pdo.html" class="link">PHP
     Data Objects (PDO) interface</a> to enable access to SQLite 3 databases.
    </p>
    <blockquote class="note"><p><strong class="note">注意</strong>: 
     <p class="para">
      PDO_SQLITE allows using strings apart from streams together with
      <strong><code>PDO::PARAM_LOB</code></strong>.
     </p>
    </p></blockquote>
   </div>

   

<div class="section" id="ref.pdo-sqlite.installation">
 <h2 class="title">安装</h2>
 <p class="para">
  The PDO_SQLITE PDO driver is enabled by default. To disable,
  <strong class="option configure">--without-pdo-sqlite[=DIR]</strong> may be used, 
  where the optional <code class="literal">[=DIR]</code> is the sqlite base install directory.
  As of PHP 7.4.0 <a href="http://sqlite.org/" class="link external">&raquo;&nbsp;libsqlite</a> ≥ 3.5.0 is required.
  Formerly, the bundled libsqlite could have been used instead, and was the
  default, if <code class="literal">[=DIR]</code> has been omitted.
 </p>
 <blockquote class="note"><p><strong class="note">注意</strong>: 
  <strong>Additional setup on Windows as of PHP 7.4.0</strong><br />
  <p class="para">
   为了使此扩展生效，
<abbr title="Dynamic Link Library">DLL</abbr> 文件必须能在 Windows 系统的
<var class="envar">PATH</var> 指示的路径下找到。如何操作的信息，请参见题为“<a href="faq.installation.html#faq.installation.addtopath" class="link">如何在 Windows 中将 PHP
目录加到 PATH 中</a>”的<abbr title="Frequently Asked Questions">FAQ</abbr>。虽然将
DLL 文件从 PHP 文件夹复制到 Windows 系统目录也行，但不建议这样做。
<em class="emphasis">此扩展需要下列文件在 <var class="envar">PATH</var> 路径中：</em> <var class="filename">libsqlite3.dll</var>.
  </p>
 </p></blockquote>
</div>




  </div>

  

 



















 <h2>目录</h2><ul class="chunklist chunklist_reference"><li><a href="ref.pdo-sqlite.connection.html">PDO_SQLITE DSN</a> — Connecting to SQLite databases</li><li><a href="pdo.sqlitecreateaggregate.html">PDO::sqliteCreateAggregate</a> — Registers an aggregating User Defined Function for use in SQL statements</li><li><a href="pdo.sqlitecreatecollation.html">PDO::sqliteCreateCollation</a> — Registers a User Defined Function for use as a collating function in SQL statements</li><li><a href="pdo.sqlitecreatefunction.html">PDO::sqliteCreateFunction</a> — Registers a User Defined Function for use in SQL statements</li></ul>
</div>
</div></div></body></html>